package com.huike.review.service;

import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {

    int saveData(String name,Integer age,String sex);

    int updateData(Review review);

    int deleteData(Integer id);

    Review getById(Integer id);

    List<Review> getAll();
}
